enyo.kind({
    name: "MyApps.Video",
    kind: enyo.VFlexBox,
    events: {
        onBack: "",
    },
    components: [    /**
     * Layout
     */
    {
        name: "pane",
        kind: "Pane",
        flex: 1,
        components: [{
            kind: "VFlexBox",
            flex: 1,
            
            components: [{
            
                kind: "PageHeader",
                className: "enyo-header-dark",
                components: [{
                    kind: "IconButton",
                    onclick: "doBack",
                    icon: "images/menu-icon-back.png",
                    className: "enyo-button-dark"
                }, {
                    kind: "VFlexBox",
                    flex: 1,
                    align: "center",
                    components: [{
                        content: ""
                    }, ]
                }, ]
            }, {
                name: "vebview",
                kind: "WebView",
                flex: 1,
            
            }]
        
        }],
    }],
    
    setUrl: function(url){
        this.$.vebview.setUrl(url);
        this.$.pane.render();
    }
    
});



